<%--
  Created by IntelliJ IDEA.
  User: hanjiejie
  Date: 2022/5/27
  Time: 13:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        table{
            border: 1px solid lightblue;
            width: 1000px;
            margin: 10px auto;
            text-align: center;
            border-collapse: collapse;
        }
        tr{
            border: 1px solid lightblue;
            height:50px;
            text-align: center;
        }
        td,th{
            border: 1px solid lightblue;
        }
        h2{
            text-align:center;
        }
    </style>
</head>
<body>
<h2> 用户注册</h2>
<form  action="user?method=register" method="post">
    <table>
        <tr>
            <td> 用户名：</td>
            <td> <input type="text" name="username"></td>
        </tr>
        <tr>
            <td> 密码：</td>
            <td><input type="text" name="password"></td>
        </tr>
        <tr>

            <td><button type="submit">提交注册 </button></td>
            <td><button>返回</button></td>
     </tr>

    </table>
</form>
<div>
    <span style="color:red">${msg}</span>
</div>
</body>

</html>
